package org.dftproject.lineagelinkage.ui.pages;

import org.dftproject.genesis.data.genealogy.IPerson;
import org.dftproject.genesis.data.genealogy.Sex;

public class PersonData {
	
	private final Sex sex;
	private final String name;
	private final EventData[] events;
	private final IPerson person;
	
	public PersonData(Sex sex, String name, EventData[] events, IPerson person) {
		this.sex = sex;
		this.name = name;
		this.events = events;
		this.person = person;
	}

	public Sex getSex() {
		return sex;
	}

	public String getName() {
		return name;
	}

	public EventData[] getEvents() {
		return events;
	}
	
	public IPerson getPerson() {
		return person;
	}

}
